package com.ap.core.dao;

import com.ap.core.domain.ZappConsumerUser;

/**
 * The Interface ZappConsumerUserDao.
 */
public interface ZappConsumerUserDao extends ReadOnlyGenericDao<ZappConsumerUser, Long> {

	/**
	 * Gets the zapp consumer user by fi identification and fi customer id.
	 *
	 * @param fiIdentification the fi identification
	 * @param fiConsumerId the fi consumer id
	 * @return the zapp consumer user by fi identification and fi customer id
	 */
	ZappConsumerUser getZappConsumerUserByFiIdentificationAndFiCustomerId(String fiIdentification, String fiConsumerId);
	
	/**
	 * Gets the zapp consumer user by fi identification and zapp customer id.
	 *
	 * @param fiIdentification the fi identification
	 * @param zappComsumerId the zapp comsumer id
	 * @return the zapp consumer user by fi identification and zapp customer id
	 */
	ZappConsumerUser getZappConsumerUserByFiIdentificationAndZappCustomerId(String fiIdentification,Long zappComsumerId);

    /**
     * Gets the zapp consumer user by email id and fi id.
     *
     * @param zappEmailId the zapp email id
     * @param fiId the fi id
     * @return the zapp consumer user by email id and fi id
     */
    ZappConsumerUser getZappConsumerUserByEmailIdAndFiId(String zappEmailId, String fiId);

}
